From ad6e5e062a4f19c5e5cfa1371776441dfe8b5da1 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Wed, 20 Jun 2007 07:58:30 +0000 Subject: [PATCH] (help-make-xrefs): Adjust position of new forward button. --- lisp/help-mode.el | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lisp/help-mode.el b/lisp/help-mode.el index f7c33d85286..98b27623ce0 100644 --- a/lisp/help-mode.el +++ b/lisp/help-mode.el @@ -500,16 +500,19 @@ that." (while (and (not (bobp)) (bolp)) (delete-char -1)) (insert "\n") + (when (or help-xref-stack help-xref-forward-stack) + (insert "\n")) ;; Make a back-reference in this buffer if appropriate. (when help-xref-stack - (insert "\n") (help-insert-xref-button help-back-label 'help-back - (current-buffer)) - (insert "\t")) + (current-buffer))) ;; Make a forward-reference in this buffer if appropriate. (when help-xref-forward-stack + (when help-xref-stack + (insert "\t")) (help-insert-xref-button help-forward-label 'help-forward - (current-buffer)) + (current-buffer))) + (when (or help-xref-stack help-xref-forward-stack) (insert "\n"))) ;; View mode steals RET from us. (set (make-local-variable 'minor-mode-overriding-map-alist) -- 2.30.2